<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="../org/angular.min.js"></script>
    <title>Document</title>
</head>
<body>
<div ng-app="hd" ng-controller="ctrl">
    开启：<input type="radio" ng-model="status" value="1">
    关闭：<input type="radio" ng-model="status" value="0">
    {{status}}
    <div ng-show="status==0">
        <h2>关闭原因：</h2>
        <textarea>xxxxxxxxxxxxxx</textarea>
    </div>
</div>
<script>
    var m = angular.module('hd', []);
    m.controller('ctrl', ['$scope', function ($scope) {
        $scope.status = 1;
    }])
</script>
</body>
</html>